#include <gtest/gtest.h>
#include "core/auth/shahmac1_signer.h"

using namespace aliyun;

TEST(core_auth, ShaHmac1Signer) {
  ShaHmac1Signer signer;
  ASSERT_STREQ("33nmIV5/p6kG/64eLXNljJ5vw84=",
    signer.SignString("this is a ShaHmac1 test.", "accessSecret").c_str());
}

// end of file
